//分页查询-销售订单
function cutPageQuery(options){
    var obj = $.extend({},options);
    // alert("调用了");
    // alert(obj.curr);
    $.ajax({
        type:"post",
        url:"/searchOrder",
        data:obj,
        success:function(data){
            $(".table").remove();//删除之前的table
            $(".cont_box").append(data);//加上查询出来的table
            $("body").other({tableId:"#table_box",tableWrap:[0,1,2,3,4,7,8],tableAas:[6,"desc"]});
            $("body").tipWindow({
                method:"edit",
                type:"form",
                Class:".detail_btn",
                even:"click",
                tipTit:"订单详情",
                orderId:"orderId",
                Twidth:"800",Theight:"600",
                editUrl:"/sales/orderDetail/page"
            });//editUrl 编辑请求地址
        },
        error:function(data){
            alert("跳转失败");
        }
    });
}

//分页查询-销售退货订单
function cutPageQueryReturn(options){
    var obj = $.extend({},options);
    // alert(obj.curr);
    $.ajax({
        type:"post",
        url:"/searchSalesReturnRecord",
        data:obj,
        success:function(data){
            // alert(data);
            $(".table").remove();//删除之前的table
            $(".cont_box").append(data);//加上查询出来的table
        },
        error:function(data){
            alert(data);
        }
    });
}
